package cc.linker.steplink.crm.domain;

/**
 * 调用配置中心
 * @author Administrator
 *
 */
public class ConfigXmlDto {
	
	/**
	 * 固定报文头
	 */
	private static String xmlHead = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
			+ "<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">"
			+"<soap12:Header>"
			+"<Authentication xmlns=\"http://woa.linker/ConfigurationCenterService\">"
			+"<Version>1.2</Version>"
			+"<From>BD95B464-80A4-470E-BFE4-11E000000001</From>"
			+ "<SessionID></SessionID>"
			+ "<Token></Token>"
			+ "<Ticket>YmQ5NWI0NjQtODBhNC00NzBlLWJmZTQtYTAwMDAwMDAwMDAxLDIwMTUtMDctMDcgMTA6Mjc6MTUsMjM0MTkxNDc=</Ticket>"
			+ "</Authentication>"
			+ "</soap12:Header>";
	
	/**
	 * 固定报文体
	 */
	public static String msgXml = xmlHead
			+   "<soap12:Body>"
			+     "<ConfigQuery xmlns=\"http://woa.linker/ConfigurationCenterService\">"
			+       "<strKey>${config_key}</strKey>"
			+     "</ConfigQuery>"
			+   "</soap12:Body>"
			+ "</soap12:Envelope>";
	
	public static String SOAPAction = "http://woa.linker/ConfigurationCenterService/ConfigQuery";
	
	public static String Content_Type = "application/soap+xml;charset=utf-8";
	
}
